package ar.edu.uba.fi.jmit.aspecter.testUtils;

public class PointTest10 {
	
	private Integer idInteger;
	
	private int id;

	private int x;
	
	private int y;
	
	private Integer z;
	
	private String name;
	
	private Point mutableObject;
	
	public PointTest10() {
		super();
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public Integer getZ() {
		return z;
	}

	public void setZ(Integer z) {
		this.z = z;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public void changePoint() {
		if(mutableObject == null) {
			mutableObject = new Point();
		}
		mutableObject.setX(x);
		mutableObject.setY(y);
	}
	
	public void getCoordenateFromPoint() {
		this.setX(mutableObject.getX());
		this.setY(mutableObject.getY());
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Integer getIdInteger() {
		return idInteger;
	}

	public void setIdInteger(Integer idInteger) {
		this.idInteger = idInteger;
	}
	
	public void invokePoint11(int objectId, int newValue) {
		PointTest11 point = new PointTest11();
		point.setId(objectId);
		point.publicField = newValue;
	}
	
}
